package com.gxa.modules.model.entity.book;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 退款表
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-12 09:47:44
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_book_refund")
@ApiModel(value = "BookRefund对象", description = "退款表")
public class BookRefund implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "refund_id", type = IdType.AUTO)
    private Long refundId;

    @ApiModelProperty("退款时间")
    @TableField("refund_time")
    private Date refundTime;

    @ApiModelProperty("退款原因")
    @TableField("refund_reason")
    private String refundReason;

    @ApiModelProperty("逻辑删除 0-未删除 1-删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
